﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;

[CreateAssetMenu(menuName = "Rendering/Custom Render Pipeline")]
public class CustomRenderPipelineAsset : RenderPipelineAsset {
    [SerializeField] bool useDynamicBatching, useGPUInstancing, useSRPBatcher;
    [SerializeField] ShadowSettings shadows = default;

    protected override RenderPipeline CreatePipeline() {
        return new CustomRenderPipeline(
            useDynamicBatching, useGPUInstancing, useSRPBatcher, shadows
            );
    }
}


